package com.ztgf.commodity.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * author: chenyu.wang
 * date: 2020-07-14 16:47
 * Description: 询价结果列表VO
 */
@Data
public class CommodityAdvisoryGoodsVO implements Serializable {

    @ApiModelProperty(value = "商品id")
    private Long id;
    @ApiModelProperty(value = "规格属性ids")
    private String attrIds;
    @ApiModelProperty(value = "商品主图")
    private String logoUrl;
    @ApiModelProperty(value = "商品名称组合")
    private String goodsName;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    @ApiModelProperty(value = "商品价格")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal price;
    @ApiModelProperty(value = "发货区域名称")
    private String areaName;
    @ApiModelProperty(value = "商品名称")
    private String commodityName;
    @ApiModelProperty(value = "品牌名称")
    private String brandName;
    @ApiModelProperty(value = "商品类型 0现货、1预售")
    private Integer goodsType;
    @ApiModelProperty(value = "是否询价，0否，1是")
    private Integer isInquiry;
    @ApiModelProperty(value = "类目id")
    private Long categoryId;
    @ApiModelProperty(value = "品牌id")
    private Long brandId;
    @ApiModelProperty(value = "支付方式0全额，1分期")
    private Integer payType;
}
